package com.ddwang.dockerrun.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "myconfig.sqlconfig")
public class SqlConfig {
    private String hostPath;
    private String userName;
    private String password;

    @Override
    public String toString() {
        return "SqlConfig{" +
                "hostPath='" + hostPath + '\'' +
                ", userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                '}';
    }
}
